package com.lswms.modules.lswms.service.base;

import java.util.List;
import java.util.Map;

import com.lswms.common.service.CrudService;
import com.lswms.modules.lswms.dto.base.CodelistDTO;
import com.lswms.modules.lswms.entity.base.CodelistEntity;

/**
 * 盘点
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-08-30
 */
public interface CodelistService extends CrudService<CodelistEntity, CodelistDTO> {

	void deleteByCode(String[] codes);

	String validate(CodelistDTO dto);

	List<CodelistEntity> listByCode(Map<String, Object> params);

	String validateUpdate(CodelistDTO dto);

}